package com.woniuxy.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName customers
 */
@TableName(value ="customers")
@Data
public class Customers implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String loginAccount;

    private String customerName;

    private String phoneNumber;

    private Integer isinvestor;

    private Integer points;

    private Integer hasChargingCard;

    private String accountLevel;

    private String realNameVerification;
    private BigDecimal balance; // 用户余额
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private String gender;

    private String address;

    private String idCard;

    @TableField(exist = false)
    private String token;

    private static final long serialVersionUID = 1L;
}